﻿@model doufu.Model.category
<h2>
    @(Model.category_id == 0 ? "添加类型" : string.Format("修改{0}", Model.category_name))</h2>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    @Html.HiddenFor(x => x.category_id)
    @Html.LabelFor(model => model.category_name) @Html.EditorFor(x => x.category_name)<br />
    
    <input type="submit" name="submit" value="保存" />
}
